package cn.leyaber.hrm.domain;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ma.rui.kai
 * @since 2020-12-17
 */
@TableName("administration_push")
public class Push extends Model<Push> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private Long PushId;
    private String title;
    //开始时间
    private Long starttime;
    @TableField("user_wholename_id")
    private Integer userWholenameId;
    private String classify;
    private String content;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPushId() {
        return PushId;
    }

    public void setPushId(Long PushId) {
        this.PushId = PushId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Long getStarttime() {
        return starttime;
    }

    public void setStarttime(Long starttime) {
        this.starttime = starttime;
    }

    public Integer getUserWholenameId() {
        return userWholenameId;
    }

    public void setUserWholenameId(Integer userWholenameId) {
        this.userWholenameId = userWholenameId;
    }

    public String getClassify() {
        return classify;
    }

    public void setClassify(String classify) {
        this.classify = classify;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Push{" +
        ", id=" + id +
        ", PushId=" + PushId +
        ", title=" + title +
        ", starttime=" + starttime +
        ", userWholenameId=" + userWholenameId +
        ", classify=" + classify +
        ", content=" + content +
        "}";
    }
}
